<form id="add-form" class="form-horizontal col-sm-12" role="form" data-toggle="validator" method="POST" action="">
    {:token()}

    <div class="form-group">
        <div class="alert alert-warning-light no-margin">
            发票物流信息
        </div>
    </div>

    <div class="form-group">
        <div class="col-xs-12 col-sm-6">
            <div class="form-group col-sm-10">
                <label for="c-consignee">物流单号:</label>
                <input id="c-consignee" data-rule="required" class="form-control" placeholder="物流单号" name="row[invoice_logistics_number]"  value="{$row.invoice_logistics_number}" type="text">
            </div>
        </div>
        <div class="col-xs-12 col-sm-6">
            <div class="form-group col-sm-10">
                <label >发货时间:</label>
                <input data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" placeholder="发货时间" name="row[invoice_date]" value="{$row.invoice_date}" type="text">
            </div>
        </div>


        <div class="col-xs-12 col-sm-10">
            <div class="form-group col-sm-10">
                <label>发货凭证:</label>
                <div class="input-group">
                    <input id="c-invoice_file_ids" class="form-control" size="50" name="row[invoice_file_ids]" type="text"
                           value="{$row.invoice_file_ids}">
                    <div class="input-group-addon no-border no-padding">
                        <span><button type="button" id="plupload-avatar" class="btn btn-danger plupload"
                                      data-input-id="c-invoice_file_ids"
                                      data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"
                                      data-multiple="false" data-preview-id="p-collection_img"
                                      data-url="qingdongams/base/upload"><i class="fa fa-upload"></i> 上传</button></span>

                    </div>
                    <span class="msg-box n-right" for="c-collection_img"></span>
                </div>
                <ul class="row list-inline plupload-preview" id="p-collection_img"></ul>
            </div>
        </div>

    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
